package com.wells.funda.business
{
	import mx.rpc.IResponder;
	import com.adobe.cairngorm.business.ServiceLocator;
	
	public class GetInfoDelegate
	{
		private var service:Object;
		private var responder:IResponder;
		
		public function GetInfoDelegate( responder : IResponder )
		{		
			this.service = ServiceLocator.getInstance().getRemoteObject( "amfTest" );
			this.responder = responder;
		}
		public function getInfo() : void
		{			
			var call : Object = service.getMessage('Bradley');
			call.addResponder( responder );
		}
	}
}